libxl/libxc: Move libxl_get_cpu_topology()'s hypercall buffer management to libxc
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>
Mon, 11 May 2015 16:31:27 +0000 (12:31 -0400)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 13 May 2015 14:03:37 +0000 (15:03 +0100)
commit250f0b43af1a71f8e0ccfe1c6fdb7dd284cc042c
tree5852a28c49a67a6219f9675cfad55c4977080c3e
parentb3c8f22904c13e29739c87bb3e947a2a0bea91d9
libxl/libxc: Move libxl_get_cpu_topology()'s hypercall buffer management to libxc

xc_cputopoinfo() is not expected to be used on a hot path and therefore
hypercall buffer management can be pushed into libxc. This will simplify
life for callers.

Also update error reporting macros.

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxc/include/xenctrl.h
tools/libxc/xc_misc.c
tools/libxl/libxl.c
tools/misc/xenpm.c
tools/python/xen/lowlevel/xc/xc.c